package thread;

public class Thread1 {
    public void start(){
        run();
    }
    public void run(){
        for(int i=1;i<20;i++){
            System.out.println(i);
        }
    }

    public static void main(String[] args) {
        Thread1 th=new Thread1();
        th.start();
    }
}
